﻿#ifndef GAMECONTROLLER_H
#define GAMECONTROLLER_H

#include <QObject>
#include "tetrisboard.h"

class GameController : public QObject
{
    Q_OBJECT
public:
    explicit GameController(TetrisBoard* board,QObject *parent = nullptr);

public slots:
    void startGame();
    void pauseGame();
    void gameOver();

private:
    TetrisBoard *board;

};

#endif // GAMECONTROLLER_H
